package com.demo.sys.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.sys.entity.ClientUserEntity;
import com.demo.sys.entity.ResponseUserInfoEntity;
import com.demo.sys.entity.UserEntity;
import common.utils.msg.RespData;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户管理(小程序用户)
 * @author 
 * @email 
 * @date 2021-10-08 14:06:40
 */
@Mapper
public interface ClientUserDao extends BaseMapper<ClientUserEntity> {

    /**
     * 用户基本信息
     *
     * @return
     */
    ResponseUserInfoEntity userInfo(String userId);

    RespData<UserEntity> userLogin(String account, String password);
}
